﻿using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Security.Principal;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
using System.Web.Security;

namespace DynamicUrls.Controllers {
    public enum ShirtColorsEnum {
        Red = 0,
        Green,
        Yellow,
    }

    public enum ShirtStylesEnum {
        VNeck = 0,
        Crew,
    }

    public class ShirtController : Controller {
        [HttpGet]
        public ActionResult AjaxFormExample() {
            return View();
        }

        [HttpGet]
        public ActionResult AdHocUrlExample() {
            return View();
        }

        [HttpGet]
        public ActionResult DynamicUrlExample1() {
            return View();
        }

        [HttpGet]
        public ActionResult DynamicUrlExample2() {
            return View();
        }

        [HttpGet]
        public ActionResult CloseUp(ShirtColorsEnum color, ShirtStylesEnum style) {
            return View(new Tuple<ShirtColorsEnum, ShirtStylesEnum>(color, style));
        }
    }
}